﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Beta Books | Login"  %>
<%@ MasterType virtualPath="~/MasterPage.master"%>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <span class="heading">Login</span>
    <table class="contentTable">
        <tr>
            <td style="height:22px;width:20px;background-image:url('images/ictl.png');background-position: top;background-repeat:no-repeat"></td>
            <td style="background-image:url('images/bg.png');"></td>
            <td style="height:22px;width:20px;background-image:url('images/ictr.png');background-position: top;background-repeat:no-repeat"></td>
        </tr>
        <tr class="contentbg">
            <td></td>
            <td>
                <asp:Label runat="server" ID="lblLogin" Text="Please, enter your email address to log in: " />
                <asp:TextBox runat="server" ID="txtUserName" />
                <asp:RegularExpressionValidator ID="loginRegExValidator" runat="server" ControlToValidate="txtUserName" ErrorMessage="Please, enter a valid email address." Display="Dynamic" 
                    ValidationExpression="^\w+[\w-\.]*\@(\w+\.)+((com)|(net)|(org)|(edu))$" />
                <asp:RequiredFieldValidator ID="loginRequiredFieldValidator" runat="server"  ControlToValidate="txtUserName" ErrorMessage="This field is required." Display="Dynamic" />
                <br />
                <asp:Button ID="cmdLogin" runat="server" Text="Login" onclick="cmdLogin_Click"  CssClass="button"/>    
            </td>
            <td></td>
        </tr>
        <tr>
            <td style="height:22px;width:20px;background-image:url('images/icbl.png');background-position: top;background-repeat:no-repeat"></td>
            <td style="background-image:url('images/bg.png');"></td>
            <td style="height:22px;width:20px;background-image:url('images/icbr.png');background-position: top;background-repeat:no-repeat"></td>
        </tr>
    </table>
    <br />
    <br />
</asp:Content>

